package com.hecn.pojo;

import lombok.Data;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;

import javax.annotation.Resource;

/** @author 24497 */
@Data
public class People {
//  @Autowired @Qualifier("dog11")
  @Resource(name = "dog11")
  private Dog dog;

  @Resource
  private Cat cat;
  private String name;
}
